<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"> 

	<h:head>
		<title>Submitting Bean Properties</title>
		<link href="/08/css/styles.css" rel="stylesheet" type="text/css" />
	</h:head> 
	<body> 
		<table border="5" align="center" >
			<tr>
				<th class="title">Submitting Bean Properties</th>
			</tr>
		</table>
		<br/>
		<h:form>
			Your first name: <h:inputText value="#{employee1.name.firstName}" />
			<br/>
			Your last name:<h:inputText value="#{employee1.name.lastName}" />
			<br/>
			Name of your company: <h:inputText value="#{employee1.company.companyName}" />
			<br/>
			Business area of your company: <h:inputText value="#{employee1.company.business}" />
			<br/>
			<h:commandButton value="Process" action="#{employee1.proccessEmployee()}" /> 
		</h:form>
	</body> 
</html>
